Carbon


IconSuiteToIconFamily

Header: Icons.h Carbon status: Supported

Provides IconFamily data for a specified IconSuite.

OSErr IconSuiteToIconFamily (
    IconSuiteRef iconSuite, 
    IconSelectorValue whichIcons, 
    IconFamilyHandle *iconFamily
);
iconSuite

The IconSuiteRef to use as a source for icon data.

whichIcons

The depths and sizes of icons to extract from the iconFamily data structure. For a description of the possible values, see “Icon Selector Constants”.

iconFamily

On return, a pointer to a handle to the structure which contains icon data as specified in the iconSuite and whichIcons parameters. Icon Services returns NULL if no appropriate icon data is found. For more information on the IconFamily data structure, see 'icns'.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when IconServicesLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by IconServicesLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)